package com.touni.designpattern.flyweightpattern.inter;

/**
 * @ClassName : Circle
 * @Description :
 * @Author : lwq
 * @Date: 2020-11-12 14:42
 */
public class Circle implements Shape {
    private String color;
    private int radius;

    public Circle(String color){
        this.color = color;
    }

    public void setRadius(int radius){
        this.radius = radius;
    }

    @Override
    public void draw() {
        System.out.println("drawing circle, color=" + this.color + ", radius=" + this.radius);
    }
}
